//
//  ListDetailModel.m
//  JZMCFM
//
//  Created by lanou3g on 15/11/3.
//  Copyright (c) 2015年 陈卓. All rights reserved.
//

#import "ListDetailModel.h"

@implementation ListDetailModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"maxPageId"]) {
        self.maxPageId = [value integerValue];
    }
    if ([key isEqualToString:@"ret"]) {
        self.ret = [value integerValue];
    }
    if ([key isEqualToString:@"totalCount"]) {
        self.totalCount = [value integerValue];
    }
    if ([key isEqualToString:@"pageId"]) {
          self.pageId = [value integerValue];
    }
    if ([key isEqualToString:@"pageSize"]) {
       self.pageSize = [value integerValue];
    }
    if ([key isEqualToString:@"id"]) {
       self.id = [value integerValue];
    }
    if ([key isEqualToString:@"trackId"]) {
       self.trackId = [value integerValue];
    }
    if ([key isEqualToString:@"duration"]) {
        self.duration = [value integerValue];
    }
    if ([key isEqualToString:@"userSource"]) {
        self.userSource = [value integerValue];
    }
    if ([key isEqualToString:@"createdAt"]) {
        self.createdAt = [value integerValue];
    }
    if ([key isEqualToString:@"uid"]) {
          self.uid = [value integerValue];
    }
    if ([key isEqualToString:@"albumId"]) {
        self.albumId = [value integerValue];
    }
    if ([key isEqualToString:@"favoritesCounts"]) {
         self.favoritesCounts = [value integerValue];
    }
    if ([key isEqualToString:@"playsCounts"]) {
        self.playsCounts = [value integerValue];
    }
    if ([key isEqualToString:@"commentsCounts"]) {
        self.commentsCounts = [value integerValue];
    }
    if ([key isEqualToString:@"sharesCounts"]) {
        self.sharesCounts = [value integerValue];
    }
    if ([key isEqualToString:@"tracks"]) {
        self.tracks = [value integerValue];
    }
    if ([key isEqualToString:@"tracksCounts"]) {
        self.tracksCounts = [value integerValue];
    }
    if ([key isEqualToString:@"processState"]) {
        self.processState = [value integerValue];
    }
    if ([key isEqualToString:@"orderNum"]) {
        self.orderNum = [value integerValue];
    }
    if ([key isEqualToString:@"opType"]) {
        self.opType = [value integerValue];
    }
    if ([key isEqualToString:@"likes"]) {
        self.likes = [value integerValue];
    }
    if ([key isEqualToString:@"playtimes"]) {
        self.playtimes = [value integerValue];
    }
    if ([key isEqualToString:@"comments"]) {
        self.comments = [value integerValue];
    }
    if ([key isEqualToString:@"shares"]) {
        self.shares = [value integerValue];
    }
    if ([key isEqualToString:@"status"]) {
        self.status = [value integerValue];
    }
    if ([key isEqualToString:@"downloadSize"]) {
        self.downloadSize = [value integerValue];
    }
    if ([key isEqualToString:@"downloadAacSize"]) {
        self.downloadAacSize = [value integerValue];
    }
    if ([key isEqualToString:@"categoryId"]) {
        self.categoryId = [value integerValue];
    }
    if ([key isEqualToString:@"commentId"]) {
        self.commentId = [value integerValue];
    }

}


@end
